﻿using System;
using Pay.TO;

namespace Pay.DTO {
	public class MerchantQuery : PageQuery {
		/// <summary>
		/// 名称
		/// </summary>
		public string nick { get; set; }
		/// <summary>
		/// 手机
		/// </summary>
		public string mobile { get; set; }
		/// <summary>
		/// 商户号
		/// </summary>
		public string merchant_no { get; set; }
		/// <summary>
		/// 是否启用
		/// </summary>
		public bool? disabled { get; set; }
		/// <summary>
		/// 是否oem
		/// </summary>
		public bool? is_oem { get; set; }
		/// <summary>
		/// 是否供应商
		/// </summary>
		public bool? is_supplier { get; set; }
		/// <summary>
		/// 是否平台商户
		/// </summary>
		public bool? is_platform { get; set; }
		/// <summary>
		/// 认证状态 0：未确认，1：待确认 2：已确认
		/// </summary>
		public int certify { get; set; }

		/// <summary>
		/// 上级商户
		/// </summary>
		public long parent_id { get; set; }
		/// <summary>
		/// oemid
		/// </summary>
		public long oem_id { get; set; }

		/// <summary>
		/// 开始
		/// </summary>
		public DateTime? start_time { get; set; }
		/// <summary>
		/// 结束
		/// </summary>
		public DateTime? end_time { get; set; }
		/// <summary>
		/// 审核状态
		/// </summary>
		public AuthStatusEnum? auth_status { get; set; }
		/// <summary>
		/// 微信扫码状态
		/// </summary>
		public AuthStatusEnum? open_wx { get; set; }
       public UserType usertype { get; set; }
    }
    public class MerchantChildQuery : PageQuery {
        /// <summary>
        /// 
        /// </summary>
        public long merchant_id { get; set; }
    }
}